package com.liang.interview.server.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 面试题目记录表(InterviewQuestionHistory)实体类
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class InterviewQuestionHistory extends BaseEntity implements Serializable {

    private static final long serialVersionUID = -60560874889446691L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 面试场次ID
     */
    private Long interviewId;

    /**
     * 均分
     */
    private Double score;

    /**
     * 面试关键字
     */
    private String keywords;

    /**
     * 问题
     */
    private String question;

    /**
     * 答案
     */
    private String answer;

    /**
     * 用户答案
     */
    private String userAnswer;
}
